﻿using UnityEngine;
using System.Collections.Generic;
using System;

public class BuildRoomInfo : EventArgs
{
    public string qrCodeUrl = string.Empty;
}
public enum RECV_MESSAGE_TYPE
{
    LOGIN = 201,
    LOGOUT = 202,
    DIRECTION = 203,
    SPLITE = 204,
    DEATH_BTN = 205,


}

public class LoginInfo : EventArgs
{
    public string userId = "";
    public string headPortraitUrl = "";
    public string nickName = "";
}
public class LogoutInfo : EventArgs
{
    public string userId = "";
}
public class DirectionInfo : EventArgs
{
    public string userId = "";
    public float dir_x = 0;
    public float dir_y = 0;
}
public class SpliteInfo : EventArgs
{
    public string userId = "";
    public bool isAccelerate = false;
}
public class DeathBtnInfo : EventArgs
{
    public string userId = "";
    public bool isOver = true;
}